package com.jucai.pppeiyouclient.weidget.photo;

/**
 * 文件夹信息
 *
 * @author huangfucai
 */
public class AllPictureImageInfo {
    // 图片的文件夹路径
    private String dir;
    // 第一张图片的路径
    private String firstImagePath;
    // 文件夹的名称
    private String name;
    // 图片的数量
    private int count;
    private boolean isAllPicture;

    public boolean isAllPicture() {
        return isAllPicture;
    }

    public void setAllPicture(boolean isAllPicture) {
        this.isAllPicture = isAllPicture;
    }

    public String getDir() {
        return dir;
    }

    public void setDir(String dir) {
        this.dir = dir;
        int lastIndexOf = this.dir.lastIndexOf("/");
        this.name = this.dir.substring(lastIndexOf);
    }

    public String getFirstImagePath() {
        return firstImagePath;
    }

    public void setFirstImagePath(String firstImagePath) {
        this.firstImagePath = firstImagePath;
    }

    public String getName() {
        return name;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

}
